home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Toolbox
/
Visual Basic Toolbox (P.I.E.)(1996).ISO
/
graphics
/
peacoc
/
peacock.bas
< prev
next >
Wrap
BASIC Source File
|
1994-10-19
|
1KB
|
39 lines
'=====================================================
'
' File: PEACOCK.BAS
'
' Author: Phil Allen
'
' Copyright (c) Phil Allen 1994, all rights reserved
'
' Desc:
' These are the declarations needed to use PEACOCK
' the Color By Name package.
'
' Add this file to your Visual Basic Project
'
' Put PEACOCK.DLL and PEACOCK.INI into your
' Windows directory
'
' And you are ready to allow your users to choose the
' colors for their use by color name
'
' In case you are wondering the cbn stands for
'
' Color By Name
'
'========================================================
Declare Sub cbnAddUserColor Lib "PEACOCK.DLL" (ByVal colorName As String, ByVal colorVal As Long)
Declare Sub cbnDeleteUserColor Lib "PEACOCK.DLL" (ByVal colorName As String)
Declare Function cbnColorExists Lib "PEACOCK.DLL" (ByVal colorName As String) As Integer
Declare Function cbnUserColorExists Lib "PEACOCK.DLL" (ByVal colorName As String) As Integer
Declare Function cbnGetColor Lib "PEACOCK.DLL" (ByVal colorName As String, ByVal defVal As Long) As Long
Declare Function cbnGetUserColor Lib "PEACOCK.DLL" (ByVal colorName As String, ByVal defVal As Long) As Long
Declare Sub cbnGetColorList Lib "PEACOCK.DLL" (ByVal colorList As String, ByVal listLen As Integer)
Declare Sub cbnGetUserColorList Lib "PEACOCK.DLL" (ByVal colorList As String, ByVal listLen As Integer)
Global Const CBN_EXISTS = 1
Global Const CBN_NOT_EXISTS = 0